#pragma once

#include "IXLabel.h"

/**
 *  IXLink Interface.
 *
 */
class ExportXSkinLib IXLink : public IXLabel
{
    DEF_INTERFACE(IXLink, _T("{3AF1D0F0-0421-4ee6-831A-B5C241C2D812}"));

public:
    virtual HRESULT STDMETHODCALLTYPE   put_Link(IN LPCTSTR szLink) = 0;
    virtual HRESULT STDMETHODCALLTYPE   get_Link(IN BSTR* bstrLink) = 0;

    virtual void    STDMETHODCALLTYPE   put_NormalColor(IN COLORREF clrNormal) = 0;
    virtual COLORREF STDMETHODCALLTYPE  get_NormalColor() = 0;

    virtual void    STDMETHODCALLTYPE   put_HoverColor(IN COLORREF clrHover) = 0;
    virtual COLORREF STDMETHODCALLTYPE  get_HoverColor() = 0;

    virtual void    STDMETHODCALLTYPE   put_AllColor(IN COLORREF clrAll) = 0;

    virtual HRESULT STDMETHODCALLTYPE   put_LinkMode(IN BOOL bLinkMode) = 0;
    virtual BOOL    STDMETHODCALLTYPE   get_LinkMode() = 0;

    virtual HRESULT STDMETHODCALLTYPE   put_ShowUnderline(IN BOOL bShow) = 0;
    virtual BOOL    STDMETHODCALLTYPE   get_ShowUnderline() = 0;
};

